package com.ys.modules.base.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;

@Data
@TableName("tg_user_assets")
@ApiModel("用户资产表")
public class TgUserAssets {
    @ApiModelProperty(value = "id")
    @TableId(type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "小程序id")
    private String miniId;

    @ApiModelProperty(value = "用户名")
    private String userName;

    @ApiModelProperty(value = "账户资产USDT")
    private Long usdt;

    @ApiModelProperty(value = "账户资产USDN")
    private Long usdn;

    @ApiModelProperty(value = "账户资产GUSD")
    private Long gusd;

    @ApiModelProperty(value = "账户资产GNET")
    private Long gnet;

    @ApiModelProperty(value = "数据版本号，乐观锁")
    private Long version;

    @ApiModelProperty(value = "记录状态: 0-有效 1-无效")
    private Integer status;

    @ApiModelProperty(value = "创建者")
    private String creator;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新者")
    private String updater;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "是否删除")
    private Integer deleted;

    @ApiModelProperty(value = "租户编号")
    private Long tenantId;
} 